html,
body {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 头部 */
#head {
    width: 7.5rem;
    height: 0.56rem;
    display: flex;
    margin-top: 0.25rem;
    margin-bottom: 0.32rem;
}

#head span:nth-of-type(1) {
    width: 0.22rem;
    height: 0.56rem;
    font-size: 0.26rem;
    line-height: 0.56rem;
    color: red;
    margin-left: 0.36rem;
    margin-right: 0.08rem;
}

#head span:nth-of-type(2) {
    width: 0.52rem;
    height: 0.56rem;
    line-height: 0.56rem;
    font-size: 0.26rem;
    margin-right: 0.3rem;
}

#head span:nth-of-type(3) {
    width: 0.36rem;
    height: 0.56rem;
    font-size: 0.26rem;
    line-height: 0.56rem;
    margin-left: 0.36rem;
    margin-right: 0.34rem;
}

#head input {
    flex: 1;
    height: 0.56rem;
    line-height: 0.56rem;
    background: #f2f3f7 url(../images/11.jpg) no-repeat 0.16rem center;
    border: 0 solid #000;
    border-radius: 0.1rem;
}

/* 主体区域 */
#main {
    flex: 1;
    overflow-y: auto;
    width: 7.5rem;
}

/* 轮播 */
#main .banner {
    width: 7.5rem;
    height: 2.75rem;
    margin-bottom: 0.27rem;
}

#main .banner img {
    width: 7.5rem;
    height: 2.75rem;
}

/* 分类 */
#main .classiy {
    width: 6.9rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

#main .classiy .top {
    width: 6.9rem;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.15rem;
}

#main .classiy .top>div {
    width: 20%;
    padding-bottom: 0.15rem;
    padding-top: 0.15rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#main .classiy .top div img {
    width: 0.68rem;
    height: 0.68rem;
    margin: 0 auto;
    margin-bottom: 0.14rem;
}

#main .classiy .top div:nth-of-type(4) img {
    width: 0.92rem;
    height: 0.68rem;
    margin-left: 0.3rem;
}

#main .classiy .bottom {
    width: 6.9rem;
    height: 0.06rem;
    display: flex;
    justify-content: center;
    margin-bottom: 0.54rem;
}

#main .classiy .bottom img {
    width: 1.35rem;
    height: 0.06rem;
}

/* 全球旅拍 */
#main .photoShooting {
    width: 6.9rem;
    height: 0.36rem;
    display: flex;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    justify-content: space-between;
    margin-bottom: 0.46rem;
}

#main .photoShooting h1 {
    font-size: 0.36rem;
}

#main .photoShooting a {
    font-size: 0.24rem;
    color: #9d9d9d;
    line-height: 0.4rem;
    background: url(../images/12.png) no-repeat right center;
}

/* 图片 */
#main .pic {
    width: 6.9rem;
    height: 3.6rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.14rem;
}

#main .pic img:nth-child(1) {
    width: 4rem;
    height: 3.6rem;
}

#main .pic img:nth-child(2) {
    width: 2.68rem;
    height: 3.6rem;
}

/* 城市 */
#main .city {
    width: 6.9rem;
    flex-wrap: wrap;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    text-align: center;
    display: flex;
    justify-content: space-around;
}

#main .city a {
    width: 1.64rem;
    height: 0.64rem;
    display: block;
    background: #ebfaff;
    border-radius: 0.32rem;
    font-size: 0.24rem;
    line-height: 0.64rem;
    margin-bottom: 0.1rem;
}

/* 备婚工具 */
#main .toolForMarriage {
    width: 6.9rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.78rem;
}

#main .toolForMarriage .top {
    width: 6.9rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.54rem;
    padding-top: 0.7rem;
}

#main .toolForMarriage .top h1 {
    font-size: 0.36rem;
}

#main .toolForMarriage .top a {
    font-size: 0.24rem;
    color: #9d9d9d;
    line-height: 0.4rem;
    background: url(../images/12.png) no-repeat right center;
}

#main .toolForMarriage .bottom {
    width: 6.9rem;
    display: flex;
    justify-content: space-between;
}

#main .toolForMarriage .bottom div {
    width: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#main .toolForMarriage .bottom div img {
    width: 0.5rem;
    height: 0.45rem;
    margin: 0 auto;
    margin-bottom: 0.24rem;
}

/* 为你精选 */
#main .forYourSelection {
    width: 6.9rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

#main .forYourSelection .top {
    width: 6.9rem;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.45rem;
}

#main .forYourSelection .bottom {
    width: 6.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#main .forYourSelection .bottom a:nth-child(1) img {
    width: 6.85rem;
    height: 6.38rem;
}

#main .forYourSelection .bottom a:nth-child(2) img {
    width: 6.85rem;
    height: 2.32rem;
}

#main .forYourSelection .bottom a:nth-child(1) {
    margin-bottom: 0.48rem;
}

/* 底部 */
#footer {
    width: 6.9rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    display: flex;
    justify-content: space-evenly;
}

#footer>div {
    width: 20%;
    text-align: center;
    padding-top: 0.24rem;
    padding-bottom: 0.1rem;
}

#footer>div div {
    font-size: 0.18rem;
    padding-top: 0.1rem;
    color: #929292;
}

#footer>div a span {
    font-size: 0.36rem;
    color: #929292;
}

#footer>div:nth-child(1) a span,
#footer>div:nth-child(1) a div {
    color: red;
}

/* 字体图标 */
@font-face {
    font-family: 'iconfont1';
    src: url('../fonts/iconfont1.ttf') format('truetype');
}

.iconfont1 {
    font-family: "iconfont1" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}